package com.xgry.bpm.api.base.messageuser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adrian
 * @since 2020-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("message_user")
public class MessageUser extends Model<MessageUser> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "msg_user_id", type = IdType.AUTO)
    private Integer msgUserId;

    private Integer msgInfoId;

    private Integer status;

    private Integer userId;


    @Override
    protected Serializable pkVal() {
        return this.msgUserId;
    }

}
